package com.edu.service;

import com.edu.domin.dto.ArticleDTO;

import com.edu.domin.vo.ArticleVo;
import com.edu.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户文章表 服务类
 * </p>
 *
 * @author author
 * @since 2025-05-15
 */
public interface IArticleService extends IService<Article> {
    List<ArticleVo> listeryone();

    void updatearticle(ArticleDTO articleDTO, Long id);

    void savearticle(ArticleDTO articleDTO, Long id);

    ArticleVo getVoById(Long id);

    List<ArticleVo> querylist();

    List<ArticleVo> listeryByid(Long id);
}
